<th width="25"><input type="checkbox" value="" name=""></th>
{if condition="in_array('id', $row)"}<th width="40">ID</th>{/if}
{if condition="in_array('name', $row)"}<th width="200" style="text-align: left;">{$title.name}</th>{/if}
{if condition="in_array('tag', $row)"}<th width="60" style="text-align: left;">{$title.tag}</th>{/if}
{if condition="isset($row['fields'])"}
    {foreach $row['fields'] as $col}
        {if condition="isset($fields[$col])"}<th width='100'>{$fields[$col]['title']}</th>{/if}
    {/foreach}
{/if}
{if condition="in_array('sort', $row)"}<th width="40">排序</th>{/if}
{if condition="in_array('remark', $row)"}<th width="100">{$title.remark}</th>{/if}
<th width="60">状态</th>